#ifndef NET_MESSAGE_BASE_H
#define NET_MESSAGE_BASE_H

#include <string>

class messageBase
{
public:
	messageBase(int messagetype);

	std::string getData() const;

	virtual ~messageBase();

protected:
	virtual void generateMessage(std::string &buf) const = 0;

protected:
	unsigned int m_messagetype;
};

#endif